<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<span>本例用于测试声明周期钩子函数，以created为例</span>
			<div id="xxoo">
				{{message}}
			</div>
		</div>
	</body>
<script type="text/javascript">
var app = new Vue({
	el: '#app',
	data: {
		message: "这是虾米鬼"
	},
	created: function(){
		console.log(this.$data.message);
		console.log(this.message);
	}
});
</script>
</html>